home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-09-17 | 1.6 KB | 69 lines | [TEXT/MPS ] |
- //========================================================================================
- //
- // File: SLStdDef.idl
- // Release Version: $ ODF 2 $
- //
- // Copyright: (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
- //
- //========================================================================================
-
- #ifndef SLSTDDEF_IDL
- #define SLSTDDEF_IDL
-
- #ifndef FWENVDEF_IDL
- #include "FWEnvDef.idl"
- #endif
-
- //========================================================================================
- //
- // This file is a mimic of FWStdDef.h with respect to the sizes of the entities defined
- // in FWStdDef.h. By including this file into other .idl files, you can use the same
- // types in your .idl as you would use in the .h
- //
- //========================================================================================
-
- #include <somobj.idl>
- #include <somcls.idl>
-
- /*========================================================================================
- / Type definitions
- /========================================================================================*/
-
- typedef octet FW_Boolean;
-
- typedef unsigned short FW_ResourceID;
-
- typedef long FW_PlatformError;
-
- // ----- Macintosh -----
- #ifdef FW_BUILD_MAC
-
- typedef short FW_PlatformCoordinate;
-
- typedef void* FW_PlatformHandle;
-
- typedef void* FW_Instance;
-
- typedef unsigned long FW_ResourceType;
-
- #endif
-
-
- // ----- Windows -----
- #ifdef FW_BUILD_WIN
-
- typedef long FW_PlatformCoordinate;
-
- typedef void* FW_PlatformHandle;
-
- typedef void* FW_Instance;
-
- typedef unsigned short FW_ResourceType;
-
- typedef somToken HINSTANCE;
- typedef somToken HRSRC;
-
- #endif
-
- #endif
-